﻿namespace DotRas
{
    using System;

    [Serializable]
    public sealed class RasNbfInfo
    {
        private int _errorCode;
        private byte _lana;
        private int _netBiosErrorCode;
        private string _netBiosErrorMessage;
        private string _workstationName;

        internal RasNbfInfo(int errorCode, int netBiosErrorCode, string netBiosErrorMessage, string workstationName, byte lana)
        {
            this._errorCode = errorCode;
            this._netBiosErrorCode = netBiosErrorCode;
            this._netBiosErrorMessage = netBiosErrorMessage;
            this._workstationName = workstationName;
            this._lana = lana;
        }

        public int ErrorCode
        {
            get
            {
                return this._errorCode;
            }
        }

        public byte Lana
        {
            get
            {
                return this._lana;
            }
        }

        public int NetBiosErrorCode
        {
            get
            {
                return this._netBiosErrorCode;
            }
        }

        public string NetBiosErrorMessage
        {
            get
            {
                return this._netBiosErrorMessage;
            }
        }

        public string WorkstationName
        {
            get
            {
                return this._workstationName;
            }
        }
    }
}

